#-*-Makefile-*- vim:syntax=make

TOSMAKE_PROGRAMMER_TYPE = xflash

PROGRAMMER ?= xflash.exe
PROGRAMMER_FLAGS = -p imote2

PXA27X_JTAG_DEV ?= "JTAG CPU"

program: setid FORCE
	@echo -e '$(INFO_STRING) installing $(TARGET) binary using $(TOSMAKE_PROGRAMMER_TYPE)'
	$(PROGRAMMER) $(PROGRAMMER_FLAGS) -tt $(PXA27X_JTAG_DEV) $(INSTALL_BIN)
